package com.bamboo.framework.framework.security.service;

import com.bamboo.framework.framework.security.entity.UserRole;
import com.bamboo.framework.common.format.ReturnMsg;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 郭晴
 * @since 2018-12-15
 */
public interface IUserRoleService extends IService<UserRole> {

  /**
   * 保存用户角色必须包括key值为userId的用户id和roleIds的角色Id集合
   * @param map
   */
  ReturnMsg saveUserRole (Map<String,Object> map);
}
